package com.carsystems.mapper;

import com.carsystems.pojo.StatueVlt;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StatueVltMapper {
      //查询全部违规状态
    List<StatueVlt> vltList();

    //按id查询单条违规状态
    StatueVlt selectByPrimaryKey(int id);

    //增加一条违规状态
    int addVlt(StatueVlt statueVlt);

    //修改一条违规状态
    int updateVlt(StatueVlt statueVlt);

    //删除一条违规状态
    int deleVlt(int id);
}
